<template>
    <ul>
      <li>
        <router-link to="/shouye">
          <img src="../../assets/1first/1推荐/shouyeqian.png" alt="" class="shouye">
          <p>首页</p>
        </router-link>
      </li>
      <li>
        <router-link to="/fenlei">
          <img src="../../assets/1first/1推荐/fenleiqian.png" alt="" class="fenlei">
          <p>分类</p>
        </router-link>
      </li>
      <li>
        <router-link to="/duanhuowang">
          <img src="../../assets/1first/1推荐/duanhuowang.png" alt="" class="duanhuo">
        </router-link>
      </li>
      <li>
        <router-link to="/cart">
          <img src="../../assets/1first/1推荐/gouwucheqian.png" alt="" class="cart">
          <p>购物车</p>
        </router-link>
      </li>
      <li>
        <router-link to="/person">
          <img src="../../assets/1first/1推荐/gerenqian.png" alt="" class="person">
          <p>个人中心</p>
        </router-link>
      </li>
    </ul>
</template>
<script>
</script>
<style scoped>
  ul{
    display: flex;
    width: 100%;
    position: fixed;
    bottom: 0;
    padding: 0.26rem 0;
    background: #fff;
  }
  li{
    flex: 1;
    text-align: center;
  }
  .shouye{
    width: 1.07rem;
  }
  .fenlei{
    width: 1.07rem;
  }
  .duanhuo{
    width: 2.51rem;
  }
  .cart{
    width: 1.11rem;
  }
  .person{
    width: 0.96rem;
  }
  li p{
    font-size: 0.44rem;
    color: #666;
    /*color: #e83d41;*/
  }
  .router-link-active p{
    color: #e83d41;
  }
</style>
